
<?php 
	$featucat = get_option('quest_gldcat');
	$featucount = get_option('quest_gldct');
	$my_query = new WP_Query('showposts='. $featucount .'&category_name='. $featucat .'');	 
	if ($my_query->have_posts()) :
?>
<div id="tabzine" class="widgets ">

<ul id="tabnav" >
	<?php while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?>	
        <li>
		<a class="listab" href="#feature-<?php the_ID(); ?>"> 
		<?php boxim() ?>
		<h3> <?php echo ShortenText(get_the_title()); ?></h3>
		<p><?php the_content_rss('', TRUE, '', 15); ?> </p>
		 </a>
		</li>
		<?php endwhile; ?>

</ul>
<?php if ($my_query->have_posts()) :?>

<div class="tabdiv">

	<?php while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?>	
	
	<div id="feature-<?php the_ID(); ?>" class="videoid">
	<a href="<?php the_permalink() ?>">
	<?php slidim() ?>
	</a>
	</div>
<?php endwhile; ?>
</div>
<?php endif; ?>

</div>
<?php endif; ?>